package main

import (
	log "github.com/sirupsen/logrus"
	"mongofix/cmd"
	"mongofix/conf"
)

func init() {
	log.SetLevel(log.DebugLevel)
}
func main() {
	defer exit()

	cmd.Execute()
}
func exit() {
	for _, v := range conf.ExitFunc {
		v()
	}
}
